<?php
class Default_Model_OrderDetail extends Zend_Db_Table_Abstract{
    protected $_name='order_detail';
    protected $_primary='order_detail_id';
    protected $_db;
    
    public function __construct()
    {
        $this->_db=Zend_Registry::get('db');
    }
    
    public function addOrderDetail($data)
    {
        $this->_db->insert('order_detail',$data);
    }
}   


?>